// 引入Vue主库
import Vue from 'vue'

// 引入项目组件入口
import App from './app'

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import './style/index.less';


//导入路由
import router from './router'
//导入store对象
import store from './store'

//导入头组件和空头组件并且设置为全局组件
import BlankLayout from './components/blank-layout'
import PagesLayout from './components/pages-layout'
Vue.component('blank-layout',BlankLayout)
Vue.component('pages-layout',PagesLayout)




new Vue({
    el: '#root',
    render(ce) {
        return ce(App)
    },
    router,
    store
})